#ifndef _SCHEDULER_H_
#define _SCHEDULER_H_

#include "base.h"
#include "configtable.h"
#include <vector>

class Scheduler {
private:
    int line_cnt;
    std::vector<int> s_important_chances;
    std::vector<int> s_important_ttl;
    void sort_c_info(std::vector<c_info> &c_info_lsit);
public:
    Scheduler(Configtable &config);
    void schedule(Configtable &config, demands &demands_in, allocs &allocs_out);
    ~Scheduler();
};

#endif